//
//  UINavTitleLabel.m
//  Trackit
//
//  Created by yaodaobin on 2017/4/9.
//  Copyright © 2017年 yaodaobin. All rights reserved.
//

#import "UINavTitleLabel.h"

@implementation UINavTitleLabel

- (id)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.font = [UIFont boldSystemFontOfSize:18.0f];
        self.adjustsFontSizeToFitWidth = YES;
        self.minimumScaleFactor = .75;
        self.textAlignment = NSTextAlignmentCenter;
        self.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
        self.textColor = [UIColor whiteColor]; // change this color
    }
    return self;
}

@end
